package com.iie.bigVideo.service;

import com.iie.bigVideo.entity.Video;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iie.bigVideo.entity.dto.VideoDto;
import com.iie.bigVideo.vo.ResultVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author XXX
 * @since 2023-11-24
 */
public interface VideoService extends IService<Video> {

    ResultVO<VideoDto> queryByVideoId(int id);


    ResultVO addVideoObject(Video video, MultipartFile videoFile, MultipartFile imgFile);


    ResultVO queryVideoList(HashMap<String, String> hashMap);

    ResultVO updateVideo(Video video, MultipartFile videoFile, MultipartFile imgFile);

    ResultVO deleteVideo(int videoId);
}
